//
//  YXSpeedVideoExport.h
//  MPTVideoKit
//
//  Created by Simon on 14-12-15.
//  Copyright (c) 2014年 Xuan Yi Xia CO.LTD. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

typedef enum
{
    SpeedVideoExportStatus_Succeeded,
    SpeedVideoExportStatus_Processing,
    SpeedVideoExportStatus_Failed,
    SpeedVideoExportStatus_Cancelled,
}SpeedVideoExportStatus;

typedef void (^speedVideo_exporting_block)(CGFloat progress, SpeedVideoExportStatus status);

@interface YXSpeedVideoExport : NSObject

-(void) buildSpeedVideoWithAsset:(AVAsset*)urlAsset reverse:(BOOL)reverse timeRange:(CMTimeRange)timeRange rate:(CGFloat)rate outputPath:(NSString*)outputPath processingBlock:(speedVideo_exporting_block)processingBlock;

@end
